package com.charlotte.study.gupao.service;

import com.charlotte.study.gupaoapi.dto.LogDTO;
import com.charlotte.study.gupaoapi.service.LogService;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

@RestController
public class LogServiceImpl implements LogService {

    @Override
    public List<LogDTO> logs() {
        LogDTO logDTO = new LogDTO();
        logDTO.setLogId("1");
        logDTO.setLogName("log");
        List<LogDTO> list = new ArrayList<>();
        list.add(logDTO);
        return list;
    }
}
